Adaptive Mesh Refinement for Characteristic Grids
نویسنده
چکیده
I consider techniques for Berger-Oliger adaptive mesh refinement (AMR) when numerically solving partial differential equations with wave-like solutions, using characteristic (double-null) grids. Such AMR algorithms are naturally recursive, and the bestknown past Berger-Oliger characteristic AMR algorithm, that of Pretorius & Lehner (J. Comp. Phys. 198 (2004), 10), recurses on individual “diamond” characteristic grid cells. This leads to the use of fine-grained memory management, with individual grid cells kept in 2-dimensional linked lists at each refinement level. This complicates the implementation and adds overhead in both space and time. Here I describe a Berger-Oliger characteristic AMR algorithm which instead recurses on null slices. This algorithm is very similar to the usual Cauchy Berger-Oliger algorithm, and uses relatively coarse-grained memory management, allowing entire null slices to be stored in contiguous arrays in memory. The algorithm is very efficient in both space and time. I describe discretizations yielding both 2nd and 4th order global accuracy. My code implementing the algorithm described here is included in the electronic supplementary materials accompanying this paper, and is freely available to other researchers under the terms of the GNU general public license. PACS 04.25.Dm, 02.70.-c, 02.70.Bf, 02.60.Lj
منابع مشابه
Adaptive Finite Volume Method for the Shallow Water Equations on Triangular Grids
This paper presents a numerical entropy production (NEP) scheme for two-dimensional shallow water equations on unstructured triangular grids. We implement NEP as the error indicator for adaptive mesh refinement or coarsening in solving the shallow water equations using a finite volumemethod. Numerical simulations show thatNEP is successful to be a refinement/coarsening indicator in the adaptive...
متن کاملSpacetree-Based Adaptive Mesh Refinement for Hyperbolic Partial Differential Equations
Adaptive mesh refinement (AMR) is a state-of-the-art technique for the efficient numerical solution of partial differential equations (PDE) exhibiting multiple widely differing spatial scales. Recently, spacetree-based AMR has been established as a promising approach to structured AMR (see for example [1]). In the talk the integration of the two software modules PyClaw [2] and Peano [4] is pres...
متن کاملTHE UNIVERSITY OF READING DEPARTMENT OF MATHEMATICS A cell by cell adaptive mesh
A cell by cell adaptive mesh technique is described and implemented to solve the Euler equations. The adaptive mesh scheme builds upon a staggered grid Lagrangian code similar to the AWE code CORVUS. The mesh is automatically refined in a cell by cell manner using a solution gradient refinement criteria. The method has the automatic response of adaptive mesh refinement but without storing and s...
متن کاملAccuracy, Adaptive Methods and Complex Geometry
We describe our approach to computing accurate solutions for time dependent fluid flows in complex geometry. We use regular, embedded, Cartesian grids wherever possible. We describe our adaptive mesh refinement algorithm and our strategy for treating geometric complexity using non-body-fitted Cartesian grids. The trade-offs of block-structured vs. unstructured data structures are presented. Sev...
متن کاملParallel Block-structured Adaptive Mesh Refinement for Incompressible Navier-stokes Equations
The numerical simulation of fluid flow involving complex geometries is greatly limited by the spatial grid resolution required. These flows often contain small regions with complex motions, while the remaining flow is relatively smooth. Adaptive mesh refinement (AMR) enables the spatial grid to be refined in local regions that require finer grids to resolve the flow. This work describes an appr...
متن کامل